package com.tongtech.proxy.util;

public class StringUtil {
    public static boolean isEmpty(String str) {
        return str == null || str.trim().length() == 0;
    }
    public static boolean isNotEmpty(String str) {
        return !isEmpty(str);
    }
    public static boolean isBlank(String str) {
        return str == null || str.trim().length() == 0;
    }
    public static boolean isNotBlank(String str) {
        return !isBlank(str);
    }
    public static boolean isNotBlank(String... strs) {
        if (strs == null || strs.length == 0) {
            return false;
        }
        for (String str : strs) {
            if (StringUtil.isBlank(str)) {
                return false;
            }
        }
        return true;
    }


}
